#include<iostream>
#include<algorithm>
using namespace std;
struct Student{
	int score;
	int id;
};

Student stu[105];

bool cmp(Student a,Student b){
	return a.score>b.score;
}
int main(){
	int n;
	scanf("%d",&n);
	for(int i=0;i<n;i++){
		scanf("%d",&stu[i].score);
		stu[i].id = i+1;
	}
	sort(stu,stu+n,cmp);
	for(int i=0;i<n;i++){
		if(i!=n-1){
			printf("%d ",stu[i].id); 
		}else{
			printf("%d\n",stu[i].id);
		}
	}
		
	return 0;
}
